package com.stark.friendrequest;
//The purpose of this class is to add the preferences from the XML file.

//Import the required java packages.
import android.os.Bundle;
import android.preference.PreferenceFragment;

//Overrides PreferenceFragment to store values. This is a different type of class then the normal activities
public class SettingsFragment extends PreferenceFragment {
		
	//Override onCreate so that the code will run when the activity is started.
	@Override
	public void onCreate(Bundle savedInstanceState){	
		//Call to the super class.
		super.onCreate(savedInstanceState);
		
		//add the preferences from the XML file.
		addPreferencesFromResource(R.xml.preferences);
	}	
}
